<?php
/**
 * @version        $Id$
 * @author         master@xuewl.com
 * @copyright      Copyright (c) 2007 - 2013, Chongqing Zero Technology Co. Ltd.
 * @link           http://www.xuewl.com
**/
namespace Document\Controller;
use \Common\Controller\BaseController;
define('MODULE_CACHE', DATA_PATH.'caches_model/');
Class DamaController extends BaseController {
      public function _initialize() {
       parent::_initialize();
       $this->info_db = D('Article_data');
       $this->db = D('Article');
        
    }
    
 	
    public function tool($id=44){
    	$SEO=seo(0,"打码辅助工具信息");
    	$article=$this->db->where(array('id'=>$id))->find();
    	$articles=$this->info_db->where(array('id'=>$article['id']))->find();
    	include template('dama_tool');
    }
    
    public function video(){
    	$SEO=seo(0,"打码视频教程信息");
    	include template('video');
    }
    
  
}